package com.woniuxy.bookmall.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Cart implements Serializable {
    private Long id;
    private Long bookid;
    private String bookname;
    private String imgsrc ;
    private BigDecimal price;
    private Integer bcount;
    private BigDecimal sumprice;
}
